home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cool / cool.lha / ice / pisces / flex / README < prev    next >
Encoding:
Internet Message Format  |  1991-09-04  |  2.8 KB

  1. From rpj%cadillac.cad.mcc.com@mcc.com Fri Feb  2 10:46:59 1990
  2. Return-Path: <@MCC.COM:rpj%cadillac.cad.mcc.com@mcc.com>
  3. Posted-Date: Fri, 2 Feb 90 09:01:51 CST
  4. Date: Fri, 2 Feb 90 09:01:51 CST
  5. From: rpj%cadillac.cad.mcc.com@mcc.com (Rich Johns)
  6. To: fburke@samwise.csc.ti.com
  7. Subject: FLEX
  8.  
  9.  
  10. ---------------------------README----------------------------------
  11.  
  12. // $Header: README,v 2.4 89/06/20 17:12:01 vern Exp $
  13.  
  14. This is release 2.1 of flex - a beta release.
  15.  
  16. The flex distribution consists of the following files:
  17.  
  18.     README        This message
  19.  
  20.     Makefile
  21.     flexdef.h
  22.     parse.y
  23.     scan.l
  24.     ccl.c
  25.     dfa.c
  26.     ecs.c        flex sources
  27.     gen.c
  28.     main.c
  29.     misc.c
  30.     nfa.c
  31.     sym.c
  32.     tblcmp.c
  33.     yylex.c
  34.  
  35.     initscan.c    pre-flex'd version of scan.l
  36.  
  37.     flex.skel    skeleton for generated scanners
  38.  
  39.     flex.1        manual entry
  40.  
  41.     Changes        Differences between this release and the previous one
  42.     COPYING        flex's copyright
  43.     MISC        miscellaneous stuff (e.g., old VMS Makefile) which
  44.             almost no one will care about
  45.  
  46.  
  47. If you have installed a previous version of flex, delete it (after making
  48. backups, of course).  This will entail removing the source directory,
  49. /usr/include/{flexskelcom,fastskeldef,flexskeldef}.h, and
  50. /usr/local/lib/flex.{skel,fastskel}, if that's where you put the various
  51. pieces.
  52.  
  53.  
  54. Decide where you want to keep flex.skel (suggestion:  /usr/local/lib) and
  55. move it there.  Edit "Makefile" and change the definition of SKELETON_FILE
  56. to reflect the full pathname of flex.skel.
  57.  
  58. Read the "Porting considerations" note in the Makefile and make
  59. the necessary changes.
  60.  
  61.  
  62. To make flex for the first time, use:
  63.  
  64.     make first_flex
  65.  
  66. which uses the pre-generated copy of the flex scanner (the scanner
  67. itself is written using flex).
  68.  
  69. Assuming it builds successfully, you can test it using
  70.  
  71.     make test
  72.  
  73. The "diff" should not show any differences.
  74.  
  75. If you're feeling adventurous, rebuild scan.c using various
  76. combinations of FLEX_FLAGS, each time trying "make test" when
  77. you're done.  To rebuild it, do
  78.  
  79.     rm scan.c
  80.     make FLEX_FLAGS="..."
  81.  
  82. where "..." is one of:
  83.  
  84.     -c
  85.     -ce
  86.     -cm
  87.     -cfe
  88.     -cFe
  89.  
  90. and testing using:
  91.  
  92.     make FLEX_FLAGS="..." test
  93.  
  94.  
  95. Format the manual entry using
  96.  
  97.     make flex.man
  98.  
  99.  
  100. Please send problems and feedback to:
  101.  
  102.     vern@{csam.lbl.gov,rtsg.ee.lbl.gov}  or  ucbvax!csam.lbl.gov!vern
  103.  
  104.     Vern Paxson
  105.     Real Time Systems
  106.     Bldg. 46A
  107.     Lawrence Berkeley Laboratory
  108.     1 Cyclotron Rd.
  109.     Berkeley, CA 94720
  110.  
  111.     (415) 486-6411
  112.  
  113.  
  114. I will be gone from mid-July '89 through mid-August '89.  From August on,
  115. the addresses are:
  116.  
  117.     vern@cs.cornell.edu    (email sent to the former addresses should
  118.                  continue to be forwarded for quite a while)
  119.                 (if I'm unlucky, you'll have to send mail
  120.                  to "paxson@cs.cornell.edu", so try that if
  121.                  the first doesn't work)
  122.  
  123.     Vern Paxson
  124.     CS Department
  125.     Grad Office
  126.     4126 Upson
  127.     Cornell University
  128.     Ithaca, NY 14853-7501
  129.  
  130.     <no phone number yet>
  131.  
  132.  
  133.